KPat - a patience (or solitaire) game
Rules of the games
Rules for "Klondike"
You know this one. Alternate red and black on the foundations. Follow suit
on the top. When you click on the deck, three more cards are dealt. Simple
rules means that excess cards are put on top of the deck, hard rules that
they are left on bottom.
Rules for "MicroSolitaire"
This version of Klondike was popularized by a large software company. Alternate
red and black on the foundations. Follow suit on the top. When you click on the deck, one card is dealt.
Rules for "Calculation"
This one takes some time to get used to. The objective is to move all cards to the top four piles. Unlike most other forms of patience, you do not need to follow suit. On the leftmost pile, put the cards in sequence A-2-3-4-5-6-7-8-9-10-J-Q-K. On the second pile the sequence is 2-4-6-8-10-Q-A-3-5-7-9-J-K, on the third 3-6-9-Q-2-5-8-J-A-4-7-10-K. and on the rightmost 4-8-Q-3-7-J-2-6-10-A-5-9-K.
You may use the bottom piles any way you want, but remember that it is possible to transfer sequences as well as single cards to the top piles.
Rules for "Napoleon's Tomb"
The four diagonal piles takes cards of any suit, of increasing value starting with 7 and ending up with K. The middle pile takes cards of any suit, starting with 6, decreasing down to A, and string over again with 6. The remaining four positions are for temporary storage, each may hold one card.
Rules for "The Idiot"
If more than one card of the same suit is exposed, you can remove the lower-valued ones. You can move cards to empty positions. The objective is to end up with only aces.
Rules for "Grandfather"
The objective is to move all cards to the top four piles, in ascending order and following suit in each pile. On the foundation, you may move a card to the next card of the same suit; you may move the five of spades on top of the six of spades, even if there are other cards on top of the five of spades. When no further moves are possible, click "Redeal". The game is over after two redeals.
Rules for "Ten"
If three cards on the outer edge of one pile sums to 10, 20 or 30, you can remove them. K, Q and J count as 10. To remove cards, just click on the pile. The objective is to remove all cards. If this is too much mental strain, just select "Full Auto" and watch the machine do your relaxation for you.
Copyright notice
Patience -- a general class for patience card
games
Copyright (C) 1995 Paul Olav
Tvete
Permission to use, copy, modify, and distribute this software
and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies
and that
both that copyright notice and this permission notice appear
in
supporting documentation.
This file is provided AS IS with no warranties of any kind.
The author
shall have no liability with respect to the infringement
of copyrights,
trade secrets or any patents by this file or any part thereof.
In no
event will the author be liable for any lost revenue or profits
or
other special, indirect and consequential damages.